package com.flyqiu.flow.core.event;

import com.flyqiu.flow.api.FlyQiuFlowEngine;
import com.flyqiu.flow.api.event.FlowEngineEvent;
import lombok.extern.slf4j.Slf4j;

@Slf4j
public class FlyQiuFlowEngineEvent implements FlowEngineEvent {
    @Override
    public void createBefore(FlyQiuFlowEngine eventContext) {
        log.info("FlyQiuFlowEngine：正在创建流程引擎：" + eventContext);
    }

    @Override
    public void createAfter(FlyQiuFlowEngine eventContext) {
        log.info("FlyQiuFlowEngine：创建流程引擎实例完成：" + eventContext);
    }

    @Override
    public void completeAfter(FlyQiuFlowEngine eventContext) {
        log.info("FlyQiuFlowEngine：WELCOME TO FLY-QIU FLOW ");
    }
}